package com.java.pojo;

/**
 * ComDept entity. @author MyEclipse Persistence Tools
 */

public class ComDept implements java.io.Serializable {

	// Fields

	private Integer deptno;
	private ComEmp comEmp;
	private String dname;
	private String DPhone;
	private String DFax;
	private String DDescribe;
	private String DStatus;

	// Constructors

	/** default constructor */
	public ComDept() {
	}

	/** minimal constructor */
	public ComDept(Integer deptno) {
		this.deptno = deptno;
	}

	/** full constructor */
	public ComDept(Integer deptno, ComEmp comEmp, String dname, String DPhone,
			String DFax, String DDescribe, String DStatus) {
		this.deptno = deptno;
		this.comEmp = comEmp;
		this.dname = dname;
		this.DPhone = DPhone;
		this.DFax = DFax;
		this.DDescribe = DDescribe;
		this.DStatus = DStatus;
	}

	// Property accessors

	public Integer getDeptno() {
		return this.deptno;
	}

	public void setDeptno(Integer deptno) {
		this.deptno = deptno;
	}

	public ComEmp getComEmp() {
		return this.comEmp;
	}

	public void setComEmp(ComEmp comEmp) {
		this.comEmp = comEmp;
	}

	public String getDname() {
		return this.dname;
	}

	public void setDname(String dname) {
		this.dname = dname;
	}

	public String getDPhone() {
		return this.DPhone;
	}

	public void setDPhone(String DPhone) {
		this.DPhone = DPhone;
	}

	public String getDFax() {
		return this.DFax;
	}

	public void setDFax(String DFax) {
		this.DFax = DFax;
	}

	public String getDDescribe() {
		return this.DDescribe;
	}

	public void setDDescribe(String DDescribe) {
		this.DDescribe = DDescribe;
	}

	public String getDStatus() {
		return this.DStatus;
	}

	public void setDStatus(String DStatus) {
		this.DStatus = DStatus;
	}

}